package com.csp.app.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.csp.app.entity.Friend;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface FriendMapper extends BaseMapper<Friend> {

    @Insert("insert into friend(id,friend_id) values(#{id},#{friendId})")
    Integer addFriend(@Param("id") Long id, @Param("friendId") Long friendId);
}
